package com.ssi.tatts.model.hibernate.domainobjects;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.UniqueConstraint;

import com.ssi.tatts.model.ProductivityType;

/**
 * A Hibernate specific representation of rows from the
 * ProductivityTypes table.
 * 
 * @author uye
 */
@SuppressWarnings("serial")
@Table(name = "ProductivityTypes")
@Entity
public class ProductivityTypeLight extends ProductivityType {

    @Transient
    private List<Long> metrics;

    public List<Long> getMetrics() {
        return metrics;
    }

    public void setMetrics(List<Long> metrics) {
        this.metrics = metrics;
    }

}
